<html>
<head>
<script type="text/javascript" src="startfile.js"></script>
</head>
<body>
Try it (but edit the urls first):
<br><a href="javascript:startfile('http://example.com/webdav/test.rtf');">test.rtf</a>
<br><a href="javascript:startfile('http://example.com/webdav/test.foo');">test.foo</a>
<br><a href="javascript:startfile('http://example.com/webdav/test.jpg');">test.jpg</a>
</body>
</html>